layui.use(['laydate','jquery','form'], function(){
    var laydate = layui.laydate,
        form = layui.form,
        $ = layui.jquery;

    laydate.render({
        elem: '#test1',
        type: 'date',
    });

    $("#findHouse").click(function () {
        $("#form").attr("action","/distr-house/findHouse");
    });

    $("#addHouse").click(function () {
        $("#form").attr("action","/distr-house/addHouse");
    });


});